<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="../../tpl/head.jsp"%>
<link rel="stylesheet" href="statics/css/SystemCenter/tpl/dictionarytpl.css">
<div class="layui-card-body">
    <div class="layui-row">
        <div class="layui-col-md12">
            <table class="layui-table" id="customertypeid" lay-filter="customertypetable"></table>
        </div>
    </div>
</div>
<div class="layui-row" id="fromeditor" style="display:none;">
    <div class="layui-col-md11 editor-form">
        <form class="layui-form layui-from-pane" action="" style="margin-top:20px" id="editor-form" lay-filter="editor-form">
            <div class="layui-form-item">
                <label class="layui-form-label">类型名称</label>
                <div class="layui-input-block">
                    <input type="text" name="lxName" lay-verify="required" autocomplete="off"
                           class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">英文名称</label>
                <div class="layui-input-block">
                    <input type="text" name="englishname" lay-verify="required" autocomplete="off"
                           class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">具体分类</label>
                <div class="layui-input-block">
                    <select name="fl" lay-filter="specificclassification" lay-verify="required">
                       <%-- <option value="0">潜在客户</option>
                        <option value="1">正式客户</option>
                        <option value="2">供应商</option>
                        <option value="3">货代</option>
                        <option value="4">船运</option>
                        <option value="5">其它</option>--%>
                    </select>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">默认等级</label>
                <div class="layui-input-block">
                    <select name="dj" lay-filter="defaultlevel" lay-verify="required">
                        <%--<option value="0">重要</option>
                        <option value="1">非常重要</option>
                        <option value="2">一般</option>
                        <option value="3">潜在客户-有明确意向，成交可能性较大</option>
                        <option value="4">潜在客户-有意向，但有些犹豫，需要通过努力才能争取的客户</option>--%>
                    </select>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">描述</label>
                <div class="layui-input-block">
                    <textarea name="remark" placeholder="请输入内容" class="layui-textarea"></textarea>
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-input-block">
                    <button class="layui-btn  layui-btn-submit" lay-submit="" lay-filter="submitform" id="submitbutton">提交</button>
                </div>
            </div>
        </form>
    </div>
</div>
<script type="text/html" id="toolbarDemo">
    <button class="layui-btn layui-btn-sm" data-type="getCheckData" lay-event="newcustomer">新增</button>
    <button class="layui-btn layui-btn-sm layui-btn-normal" lay-event="edit">编辑</button>
    <button class="layui-btn layui-btn-sm layui-btn-warm"  lay-event="deletecustomer">删除</button>
    <input class="text layui-input" type="text" name="names" id="names" autocomplete="off" placeholder="名称">
    <button class="layui-btn layui-btn-sm layui-btn-danger" lay-event="searchs"><i class="layui-icon layui-icon-search"></i>搜索</button>
</script>
<%@ include file="../../tpl/foot.jsp"%>
<script src="statics/js/SystemCenter/tpl/customertype.js"></script>